-
Notifications
You must be signed in to change notification settings - Fork 1
Add kernel_kselftest.sh #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive helper script for running kernel self-tests (kselftests) against different kernel versions on Rocky Linux systems. The script automates dependency installation and test execution with appropriate permissions.
- Implements version-specific dependency installation for Rocky Linux 8, 9, and 10
- Provides kernel version-specific test configurations with different target sets and skip lists
- Includes automated test execution with both regular and sudo permissions for different test categories
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
🎉 Snyk checks have passed. No issues have been found so far.✅ code/snyk check is complete. No issues have been found. (View Details) |
65905c2 to
b84b324
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
ea2fbeb to
ca4912e
Compare
|
Minor question: do we need to add a Signed-off -by for all commits? Or is it just for the kernel sources? |
No, we haven't stipulated sign-offs for any repos other than the kernel. Certainly doesn't hurt though. |
This is a helper script for running kselftests against a kernel under test. It attempts to install the appropriate dependencies for different versions of Rocky Linux and attempts to run appropriate tests, with appropriate permissions, for a few select kernel versions. This is just a starting point. Hopefully this continues to evolve, increasing the number of successful that can reliably be run.
ca4912e to
de9b168
Compare
roxanan1996
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
This is a helper script for running kselftests against a kernel under test. It attempts to install the appropriate dependencies for different versions of Rocky Linux and attempts to run appropriate tests, with appropriate permissions, for a few select kernel versions.
This is just a starting point. Hopefully this continues to evolve, increasing the number of successful that can reliably be run.